CFLAG= -std=c++11 -I ../../../third/include/
LFLAG= -L../../../third/lib  -lmuduo_net -lmuduo_base -lpthread -ljsoncpp
.PHONY:all
all: client server registry
client:test_client.cc
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
server:test_server.cc
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
registry:test_registry.cc
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
.PHONY:clean
clean:
	rm -rf client server registry